package cn.jingzhuan.fm.mvp.contract

import cn.jingzhuan.fm.network.json.JsonResponse
import cn.jingzhuan.fm.pojo.FMAlbum
import cn.jingzhuan.fm.pojo.FMAudio
import io.reactivex.Flowable

interface  FMAudioContract {

    interface View {
        fun bindData(fmAudio: FMAudio,fmAlbum: FMAlbum)
    }

    interface Model {
        fun audioListen(audioId: String): Flowable<JsonResponse<FMAudio>>
        fun albumFind(albumId: String): Flowable<JsonResponse<FMAlbum>>
    }

    interface Presenter {

        fun audioFind(audioId: String)

    }


}